//
//  BBTakethingsViewController.m
//  BearSiX
//
//  Created by 潘宇 on 16/3/28.
//  Copyright © 2016年 Tom. All rights reserved.
//

#import "BBTakethingsViewController.h"

@interface BBTakethingsViewController ()

@end

@implementation BBTakethingsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"搜索" style:UIBarButtonItemStyleDone target:self action:@selector(search:)];
    self.view.backgroundColor=[UIColor whiteColor];
    UIView *middleview=[[UIView alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/2, 64, 2, (WINSIZEHEIGHT-200)/2)];
    middleview.backgroundColor=[UIColor colorWithHexString:@"f6f6f6"];
    [self.view addSubview:middleview];
    UIView *oneview=[[UIView alloc]initWithFrame:CGRectMake(0,(WINSIZEHEIGHT-200)/4+64, WINSIZEWIDTH, 1)];
    oneview.backgroundColor=[UIColor colorWithHexString:@"f6f6f6"];
    [self.view addSubview:oneview];
    UIView *twoview=[[UIView alloc]initWithFrame:CGRectMake(0,(WINSIZEHEIGHT-200)/2+64, WINSIZEWIDTH, 1)];
    twoview.backgroundColor=[UIColor colorWithHexString:@"f6f6f6"];
    [self.view addSubview:twoview];
    UIImageView *oneimage=[[UIImageView alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/4-25, 84, 50, 50)];
    if (WINSIZEHEIGHT==568) {
        oneimage.frame=CGRectMake(WINSIZEWIDTH/4-15, 74, 30, 30);
    }
    [oneimage setImage:[UIImage imageNamed:@"11-1"]];
    [self.view addSubview:oneimage];
    UIImageView *twoimage=[[UIImageView alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/4*3-25, 84, 50, 50)];
    if (WINSIZEHEIGHT==568) {
        twoimage.frame=CGRectMake(WINSIZEWIDTH/4*3-15, 74, 30, 30);
    }
    [twoimage setImage:[UIImage imageNamed:@"11-2"]];
    [self.view addSubview:twoimage];
    UIImageView *thrimage=[[UIImageView alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/4-25, (WINSIZEHEIGHT-200)/4+84, 50, 50)];
    if (WINSIZEHEIGHT==568) {
        thrimage.frame=CGRectMake(WINSIZEWIDTH/4-15, (WINSIZEHEIGHT-200)/4+74, 30, 30);
    }
    [thrimage setImage:[UIImage imageNamed:@"11-3"]];
    [self.view addSubview:thrimage];
    
    UIImageView *fouimage=[[UIImageView alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/4*3-25, (WINSIZEHEIGHT-200)/4+84, 50, 50)];
    if (WINSIZEHEIGHT==568) {
        fouimage.frame=CGRectMake(WINSIZEWIDTH/4*3-15,(WINSIZEHEIGHT-200)/4+74, 30, 30);
    }
    [fouimage setImage:[UIImage imageNamed:@"11-4"]];
    [self.view addSubview:fouimage];
    UILabel *onelabel=[[UILabel alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/4-30, 150, 70, 10)];
    if (WINSIZEHEIGHT==568) {
        onelabel.frame=CGRectMake(WINSIZEWIDTH/4-30, 118, 70, 10);
    }
    onelabel.text=@"当日取件";
    onelabel.font = [UIFont fontWithName:@"Helvetica" size:15.f];
    [self.view addSubview:onelabel];
    UILabel *twolabel=[[UILabel alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/4*3-30, 150, 70, 10)];
    if (WINSIZEHEIGHT==568) {
        twolabel.frame=CGRectMake(WINSIZEWIDTH/4*3-30, 118, 70, 10);
    }
    twolabel.text=@"当月取件";
    twolabel.font = [UIFont fontWithName:@"Helvetica" size:15.f];
    [self.view addSubview:twolabel];
    UILabel *trelabel=[[UILabel alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/4-50, (WINSIZEHEIGHT-200)/2+18, 110, 10)];
    if (WINSIZEHEIGHT==568) {
        trelabel.frame=CGRectMake(WINSIZEWIDTH/4-50,(WINSIZEHEIGHT-200)/2+33, 110, 10);
    }
    else if (WINSIZEHEIGHT==667) {
        trelabel.frame=CGRectMake(WINSIZEWIDTH/4-50,(WINSIZEHEIGHT-200)/2+35, 110, 10);
    }
    trelabel.text=@"未排取件日期";
    trelabel.font = [UIFont fontWithName:@"Helvetica" size:15.f];
    [self.view addSubview:trelabel];
    
    UILabel *foulabel=[[UILabel alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/4*3-30, (WINSIZEHEIGHT-200)/2+18, 70, 10)];
    if (WINSIZEHEIGHT==568) {
        foulabel.frame=CGRectMake(WINSIZEWIDTH/4*3-30,(WINSIZEHEIGHT-200)/2+33, 70, 10);
    }
    else if (WINSIZEHEIGHT==667) {
        foulabel.frame=CGRectMake(WINSIZEWIDTH/4*3-30,(WINSIZEHEIGHT-200)/2+35, 70, 10);
    }
    foulabel.text=@"整件客户";
    foulabel.font = [UIFont fontWithName:@"Helvetica" size:15.f];
    [self.view addSubview:foulabel];
    UIButton *onebtn=[[UIButton alloc]initWithFrame:CGRectMake(0, 64, WINSIZEWIDTH/2-1, (WINSIZEHEIGHT-200)/4)];
    onebtn.backgroundColor=[UIColor clearColor];
    onebtn.tag=2001;
    [self.view addSubview:onebtn];
    
    UIButton *twobtn=[[UIButton alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/2+1, 64, WINSIZEWIDTH/2-1, (WINSIZEHEIGHT-200)/4)];
    twobtn.backgroundColor=[UIColor clearColor];
    twobtn.tag=2002;
    [self.view addSubview:twobtn];
    
    UIButton *thrbtn=[[UIButton alloc]initWithFrame:CGRectMake(0, (WINSIZEHEIGHT-200)/4+64, WINSIZEWIDTH/2-1, (WINSIZEHEIGHT-200)/4)];
    thrbtn.backgroundColor=[UIColor clearColor];
    thrbtn.tag=2003;
    [self.view addSubview:thrbtn];
    
    UIButton *foubtn=[[UIButton alloc]initWithFrame:CGRectMake(WINSIZEWIDTH/2+1,(WINSIZEHEIGHT-200)/4+64, WINSIZEWIDTH/2-1, (WINSIZEHEIGHT-200)/4)];
    foubtn.backgroundColor=[UIColor clearColor];
    foubtn.tag=2004;
    [self.view addSubview:foubtn];

    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
-(void)search:(UIBarButtonItem *)sender{
    
    
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
